package com.lxmes.hr.service;

import java.util.List;
import com.lxmes.hr.domain.NcSchedulingRules;

/**
 * 排班规则Service接口
 *
 * @author ruoyi
 * @date 2022-11-25
 */
public interface INcSchedulingRulesService
{
    /**
     * 查询排班规则
     *
     * @param id 排班规则主键
     * @return 排班规则
     */
    public NcSchedulingRules selectNcSchedulingRulesById(Long id);

    /**
     * 查询排班规则列表
     *
     * @param ncSchedulingRules 排班规则
     * @return 排班规则集合
     */
    public List<NcSchedulingRules> selectNcSchedulingRulesList(NcSchedulingRules ncSchedulingRules);

    /**
     * 新增排班规则
     *
     * @param ncSchedulingRules 排班规则
     * @return 结果
     */
    public int insertNcSchedulingRules(NcSchedulingRules ncSchedulingRules);

    /**
     * 修改排班规则
     *
     * @param ncSchedulingRules 排班规则
     * @return 结果
     */
    public int updateNcSchedulingRules(NcSchedulingRules ncSchedulingRules);

    /**
     * 批量删除排班规则
     *
     * @param ids 需要删除的排班规则主键集合
     * @return 结果
     */
    public int deleteNcSchedulingRulesByIds(Long[] ids);

    /**
     * 删除排班规则信息
     *
     * @param id 排班规则主键
     * @return 结果
     */
    public int deleteNcSchedulingRulesById(Long id);

    String imporIteminfo(List<NcSchedulingRules> userList, boolean updateSupport, String operName);
}
